$OpenBSD: patch-prnt_filters_hpps,v 1.1 2015/02/05 17:34:33 ajacoutot Exp $
--- prnt/filters/hpps.orig	Thu Jan 29 13:20:42 2015
+++ prnt/filters/hpps	Thu Feb  5 16:56:22 2015
@@ -48,7 +48,7 @@ output_fd = 1
 
 job_id = 0
 pid = os.getpid()
-config_file = '/etc/hp/hplip.conf'
+config_file = '${SYSCONFDIR}/hp/hplip.conf'
 home_dir = ''
 
 
@@ -68,7 +68,7 @@ if os.path.exists(config_file):
         bug("Error setting home directory: home= under [dirs] not found.")
         sys.exit(CUPS_FILTER_FAILED)
 else:
-    bug("Error setting home directory: /etc/hp/hplip.conf not found")
+    bug("Error setting home directory: ${SYSCONFDIR}/hp/hplip.conf not found")
     sys.exit(CUPS_FILTER_FAILED)
 
 if not home_dir or not os.path.exists(home_dir):
